package com.yfp.machine.domain;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告资源表(AdResource)实体类
 *
 * 
 * @since 2023-12-28 15:46:18
 */
@Schema(title = "")
public class AdResource implements Serializable {
    private static final long serialVersionUID = -64371342703093054L;
    /**
     * 广告id
     */
    @Schema(title = "广告id")
    private String adId;
    /**
     * 资源类型 1：图片 2：视频
     */
    @Schema(title = "资源类型 1：图片 2：视频")
    private Integer resourceType;
    /**
     * 图片id/视频id
     */
    @Schema(title = "图片id/视频id")
    private String resourceId;
    /**
     * 创建时间
     */
    @Schema(title = "创建时间")
    private Date createTime;
    /**
     * 时长
     */
    @Schema(title = "时长")
    private String duration;


    public String getAdId() {
        return adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public Integer getResourceType() {
        return resourceType;
    }

    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

}

